@import '../styles/common.less';

.cdaiScoreForm {
  padding: 0 0 100px 0;
  background-color: transparent;
  height: 64vh;
  overflow-y: auto;
}

// CDAIScore特定的输入框样式
.cdaiScoreForm {
  .formSection {
    :global(.ant-input-number) {
      width: 80px !important;
      border-radius: 6px;
      border: 1px solid #d9d9d9;
      
      &:hover {
        border-color: #40a9ff;
      }
      
      &:focus {
        border-color: #1890ff;
        box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
      }
    }

    :global(.ant-select) {
      width: 80px !important;
      border-radius: 6px;
      border: 1px solid #d9d9d9;
      
      &:hover {
        border-color: #40a9ff;
      }
      
      &:focus {
        border-color: #1890ff;
        box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
      }
    }

    // 特定输入框宽度样式
    :global(.ant-input-number[style*="width: 220px"]) {
      width: 220px !important;
    }
  }
}

// 周网格布局
.weeklyGrid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dayLabels {
  display: flex;
  gap: 16px;
  font-weight: 500;
  margin-left: 56px; // 修正为 40px (inputLabel宽度) + 16px (gap) = 56px
  
  span {
    width: 80px;
    text-align: left;
    font-size: 14px;
    // color: #666;
  }
}

.inputRow {
  display: flex;
  align-items: center;
  gap: 16px;
}

.inputLabel {
  width: 40px;
  font-size: 14px;
  color: #262626;
  text-align: left;
  font-weight: 500;
}

// 并发症网格样式
.complicationsGrid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.complicationLabels {
  display: flex;
  gap: 16px;
  margin: 12px 0;
  
  span {
    width: 120px;
    text-align: left;
    font-size: 14px;
    // color: #666;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
  }
}

.complicationPlaceholder {
  width: 120px;
  height: 20px;
}

.complicationInputs {
  display: flex;
  align-items: center;
  gap: 16px;
}

.complicationLabel {
  width: 120px;
  font-size: 14px;
  color: #262626;
  text-align: left;
  font-weight: 500;
}
